<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
</head>
<body>
	<!-- 网站头部开始 -->
	<div id="head">
		<div class="head_bar">
			<div class="middle_bar">
			<!-- 左边 -->
			    <?php if(!isset($_SESSION['uid']) && !isset($_SESSION['username'])){ ?>
				<span class="welcome">欢迎来到聚美!</span>
				<span class="welcome">
					<a href="<?php echo U('Index/Login/index');?>" class="pless_log">请登录</a>
				</span>
				<span class="welcome">
					<a href="<?php echo U('Index/Reg/index');?>" class="pless_reg">快速注册</a>
				</span>
			<?php }else{ ?>
				<span class="welcome">欢迎您,</span>
				<span class="yidengluming"><?php echo $hd['session']['username'];?></span>
				<a href="<?php echo U('Index/Login/out');?>" class="out">[退出]</a>
			<?php } ?>
				<div class="beijing">送至&nbsp北京<a href="" class="jiao"></a></div>
				<!-- 右边 -->
				<div class="more">
				更多<span class="jiao"></span>
				<div class="more_hide">
					<ul class="more_nav">
						<li><a href="">邀请好友</a></li>
						<li><a href="">加入收藏</a></li>
						<li><a href="">新浪微博</a></li>
						<li><a href="">聚美微博</a></li>
						<li><a href="">百度贴吧</a></li>
						<li><a href="">腾讯微博</a></li>
						<li><a href="">人人公众主页</a></li>
						
					</ul>
					
				</div>
				</div>
				<div class="kind"><span class="cha"></span>查看分类</div>
				<span class="xian">|</span>	
				<div class="kb"><a href="" class="hand"></a><a href="">口碑中心</a></div>
				<div class="sj"><a href="" class="phone"></a><a href="">手机聚美</a></div>
				<span class="xian">|</span>
				<div class="my_jm">
					我的聚美<span class="jiao"></span>
					<div class="my_hidden">
						<ul class="sub_nav">
							<li><a href="">我的订单</a></li>
							<li><a href="">我的现金券</a></li>
							<li><a href="">我的红包</a></li>
							<li><a href="">我的余额</a></li>
							<li><a href="">我的提现退款</a></li>
							<li><a href="">我的收藏</a></li>
							<li><a href="">我的心愿单</a></li>
							<li><a href="">会员中心</a></li>
							<li><a href="">兑换礼品</a></li>
						</ul>
						
					</div>
				</div>	
				<span class="save">
					<a href="" class="heart"></a><a href="">收藏的品牌</a>
				</span>
				<span class="cha_xun">
					<a href="">订单查询</a>
				</span>
			</div>
			
		</div>
		<!-- 收缩区域开始 -->
		<div id="search">
			<img src="http://127.0.01/jmshop/template/default/image/logo_new_v1.jpg" alt="" class="logo"/>
			<img src="http://127.0.01/jmshop/template/default/image/mz_logo.jpg" alt="" class="logo1"/>
			<div class="search_bar">
				<form class="kuang" method="post" action="">
					<input type="text"  class="sou" value="护手霜" />
					<div class="btn">搜美妆</div>
				</form>
				<span class="link">
					<a href="" class="bs">保湿</a>
					<a href="">面膜</a>
					<a href="">洗面奶</a>
					<a href="">补水</a>
					<a href="">香水</a>
					<a href="">眼霜</a>
					<a href="">口红</a>
					<a href="">护肤套装</a>
					<a href="">BB霜</a>
				</span>
			</div>
			<div class="cash">
				<span class="bao"><img src="http://127.0.01/jmshop/template/default/image/cart.gif" alt="" /></span>
				<a href="" class="kk">去购物车结算</a>
				<span class="jiao"></span>
				<div class="jiesuan_hidden">
					<ul class="up">
					
					</ul>
					<div class="down">
						<a href="<?php echo U('Index/JieSuan/index');?>" class="che">去购物车结算</a>
						<div class="che_left">
							<span class="gong">共<i><?php echo $cartTotalNum;?></i>件商品</span>
							<span class="total">共计<i>￥</i><span class="num"><?php echo $cartTotalPrice;?></span></span>
						</div>
					</div>
				</div>
			</div>
			

		</div>
		
	</div>
	<div id="nav">
		<div class="middle">
		<ul class="dao_hang">
			<li class="free"><a href="<?php echo U('Index/Index/index');?>">首页</a></li>
			<?php foreach ($cate as $k=>$v){?>
				<li class="free"><a href="<?php echo U('Index/List/index');?>"><?php echo $v['cname'];?></a></li>
			<?php }?>
		</ul>
		<ul class="biao">
			<li><a href=""><img src="http://127.0.01/jmshop/template/default/image/z_01new.jpg" alt="" /></a></li>
			<li><a href=""><img src="http://127.0.01/jmshop/template/default/image/z02.jpg" alt="" /></a></li>
			<li><a href=""><img src="http://127.0.01/jmshop/template/default/image/z03.jpg" alt="" /></a></li>
		</ul>
			
		</div>
				
	</div>
	<!-- 网站头部结束 -->